#include<stdio.h>
#include<conio.h>
void main()

{
	int m1, m2, m3, m4, m5, per;

	clrscr();

	printf("[\n\n\t\tEnter marks in five different subject:  ]");

	scanf("%d%d%d%d%d", &m1, &m2, &m3,&m4, &m5);

	per = (m1 +m2+ m3+ m4+ m5)*100/500;

	if(per>= 60)

	printf("[\n\n\t\tFirst Division]");

	if( per >= 50  &&  per<60 )

	printf("[\n\n\t\tSecond Division]");

	if(per >= 40 &&  per < 50  )

	printf ("[\n\n\t\tThird Division]");

	if ( per < 40 )

	printf ("[\n\n\t\tFail]");

	getch();
}